<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix' => 'admin/diary',
    'namespace' => 'Frieza\\Modules\\Diary\\Controllers',
    'middleware' => [
        'web',
        'admin'
    ],
], function (Router $router) {

    // 标签列表
    $router->get('/list', 'DiaryController@index');
    // 标签列表
    $router->get('/detail', 'DiaryController@detail');

    $router->post('/setView', 'DiaryController@setView');


//    $router->get('/area', 'DiaryController@area')->name('diary.area');
});
